import React from 'react'

//订单列表
export async function apiGetOrderList(params) {
  return await React.$post('/admin/order/getStoreOrderPage', params);
}
//订单详情
export async function apiGetOrderDetails(params) {
  return await React.$post('/admin/order/getStoreOrderDetail', params);
}
//退单列表
export async function apiGetReturnOrderDetails(params) {
  return await React.$post('/admin/order/getStoreSalesReturnOrderPage', params);
}
//退款
export async function apiOrderRefundSubmit(params) {
  return await React.$post('/admin/order/refundSubmitY', params);
}
//增值服务订单
export async function apiOrderPetOrderPage(params) {
  return await React.$post('/admin/order/getPetOrderPage', params);
}
//商城订单
export async function apiShopOrderInfoPage(params) {
  return await React.$post('/admin/shopOrderInfo/getShopOrderPage', params);
}
export async function apiGetShopOrderInfoPage(params) {
  return await React.$post('/trade/api/shopOrderInfo/getShopOrderPage', params);
}
export async function apiGetShopOrderInfoList(params) {
  return await React.$post('/trade/api/shopOrderInfo/getShopOrderList', params);
}
//商城退单
export async function apiShopSalesReturnPage(params) {
  return await React.$post('/admin/shopSalesReturn/page', params);
}
//商城订单-详情
export async function apiShopOrderDetail(params) {
  return await React.$post('/admin/shopOrderInfo/getShopOrderDetail', params);
}
//商城退单-详情
export async function apiShopSalesReturnOrderDetail(params) {
  return await React.$post('/admin/shopSalesReturn/view', params);
}
//商城售后标签
export async function apiShopSalesReturnLabel(params) {
  return await React.$post('/admin/shopSalesReturnLabel/page', params);
}
//商城售后标签-新增
export async function apiShopSalesReturnLabelAdd(params) {
  return await React.$post('/admin/shopSalesReturnLabel/add', params);
}
//商城售后标签-修改
export async function apiShopSalesReturnLabelEdit(params) {
  return await React.$post('/admin/shopSalesReturnLabel/edit', params);
}
//商城售后标签-删除
export async function apiShopSalesReturnLabelDel(params) {
  return await React.$post('/admin/shopSalesReturnLabel/del', params);
}

//商城订单退款
export async function apiShopSalesReturnRefundConfirm(params) {
  return await React.$post('/admin/shopSalesReturn/refundConfirm', params);
}

// 商家下拉列表
export async function apiStoreInfoList(params) {
  return await React.$post('/manage/api/b/storeInfo/list', params)
}

// 订单强制退款
export async function apiShopSalesReturnForceRefund(params) {
  return await React.$postJson('/management/shopSalesReturn/forceRefund/Json', params);
}
// 查看订单出库信息列表
export async function apifindOrderOutLibraryList(params) {
  return await React.$post('/admin/shopOrderInfo/findOrderOutLibraryList', params)
}
// 查看订单出库信息
export async function apifindOrderOutLibraryDetail(params) {
  return await React.$post('/admin/shopOrderInfo/findOrderOutLibraryDetail', params)
}
//快递公司
export async function apiExpressageList(params) {
  return await React.$post('/admin/expressageCompanySetting/list', params);
}
// 查看物流信息
export async function apifindCheckLogistics(params) {
  return await React.$post('/management/shopOrderInfo/checkLogistics', params)
}
